<?php require_once(__DOCROOT__ . __SUBDIRECTORY__ . '/view/shared/layout.header.tpl.php'); ?>

<section id="content" class="padcontent3">
    <div class=" container_24">
        <div class="main"><h1>Nuestros Projectos</h1></div>
        <div class="wrapper">
            <ul id="portfolio-filter">
                <li><a href="#" class="current" data-filter="*"><ins>Todos</ins></a></li>
                <?php foreach ($this->objServiceArray as $objService) { ?>
                <li><a href="javascript:void(0);" data-filter=".<?php _p($objService->Id); ?>"><?php _p($objService->Name); ?></a></li>
                <?php } ?>
            </ul>
            <ul id="portfolio-list">
                <?php foreach($this->objProjectArray as $objProject) { ?>
                <li class="<?php foreach($objProject->GetProjectServiceArray() as $objProjectService) { _p(sprintf(' %s ', $objProjectService->Service->Id)); } ?>">
                    <figure class="bgfigure">
                        <a href="detail.php?intId=<?php _p($objProject->Id); ?>">
                            <img src="<?php _p($objProject->Thumbnail); ?>" alt="<?php _p($objProject->Name); ?>" /></a>
                        <figcaption><?php _p($objProject->Name); ?></figcaption>
                    </figure>
                </li>
                <?php } ?>
            </ul>
        </div>
    </div>
</section>

<?php $this->RenderBegin(); ?>
<?php $this->RenderEnd(); ?>

<?php require_once(__DOCROOT__ . __SUBDIRECTORY__ . '/view/shared/layout.footer.tpl.php'); ?>